package com.example.test.springMVC.enums;

import com.fasterxml.jackson.annotation.JsonValue;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @Package: com.example.test.springMVC.enums
 * @Author: Mr.Waves
 * @Date: 2020-04-28 13:12
 * @Description:
 **/
@AllArgsConstructor
@Getter
public enum Gender implements BaseEnum {
    BOY(1,"boy"),
    GIRL(0,"girl");

    private final Integer value;
    @JsonValue
    private final String desc;

}
